import { PureSettings } from '@/components/base-layouts/defaultSettings';
import {Props} from "@/components/typing";

export interface AppState extends PureSettings {
  device: 'desktop' | string;
  transitionName: string;
  multiTab: boolean;
  multiTabFixed: boolean;
  indiInfo: number;
  buttonMenu: Props;
  roles: Props[],
  spinning: boolean
}

export const state: AppState = {
  device: 'desktop',
  layout: 'side',
  navTheme: 'dark',
  contentWidth: 'Fluid',
  fixedHeader: true,
  fixedSidebar: true,
  menu: { },
  splitMenus: false,
  title: '高能MES',
  primaryColor: '#1890ff',
  colorWeak: false,
  transitionName: 'slide-right',
  multiTab: true,
  multiTabFixed: true,
  indiInfo: 0,
  buttonMenu: {},
  roles: [],
  spinning: false
};
